// 读取excel配置
export async function sheets() {
    //@ts-ignore
    const sheets = await window.ipcRenderer.excelImport('electron/setting.xlsx')
    sheets.forEach((sheet: any) => {
        let rows = sheet.data
        for (var i = 0; i < rows.length; i++) {
            console.log(`第${i + 1}行第一列数据：${rows[i][0]}`)
            console.log(`第${i + 1}行第二列数据：${rows[i][1]}`)
        }
    });
    console.log('sheets', sheets[0].data[1][1]);
}


// 导出
// export { sheets };
